package com.woniuxy.dao;

import com.woniuxy.pojo.Customer;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface CustomerDao {
    List<Customer> findAll(@Param("name") String name);
    void save(Customer customer);
    void del(Integer id);
    Customer findOne(Integer id);
    void update(Customer customer);
}
